package cn.wolfcode.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

@Getter
@Setter
public class UserWallet {

    public static final int USER_WALLET_STATUS_NORMAL = 0;  // 用户钱包状态为正常

    /** 模型对象的 ID */
    @TableId(type = IdType.AUTO)
    private Long        id;

    private Long        userId;     // 用户ID
    private BigDecimal  balance;    // 余额
    private Integer     status;     // 状态
}
